package com.jxl.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 数据配置
 * @author 江雪林
 * @create 2021-03-29
 */
public class Configuration {
    private Integer id;
    private Integer type;//类型
    private Integer key;//键名
    private Integer value;//键值
    private Integer status;//状态
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date updateTm;//修改时间

    public Configuration() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getKey() {
        return key;
    }

    public void setKey(Integer key) {
        this.key = key;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getUpdateTm() {
        return updateTm;
    }

    public void setUpdateTm(Date updateTm) {
        this.updateTm = updateTm;
    }

    @Override
    public String toString() {
        return "Configuration{" +
                "id=" + id +
                ", type=" + type +
                ", key=" + key +
                ", value=" + value +
                ", status=" + status +
                ", updateTm=" + updateTm +
                '}';
    }
}
